package org.belkodevelop.realty.domen;

import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

@Entity
@DiscriminatorValue("GARAGE")
public class Garage extends Realty {
    
    @Column(name = "area")
    private Double area;
    
    public void setArea(Double area) {
        this.area = area;
    }
    
    public Double getArea() {
        return area;
    }
}
